{
  "name": "Service Provisioning Service",
  "tasks": {
    "3713": {
      "name": "ViewData",
      "canvasName": "ViewData",
      "summary": "Error in Dry-Run",
      "description": "Error",
      "location": "Application",
      "app": "WorkFlowEngine",
      "displayName": "Tools",
      "type": "manual",
      "variables": {
        "incoming": {
          "header": "Error in Dry-Run",
          "message": "Dry-Run error, please review the dry run error, and decide to either <b>RETRY</b> or <b>TERMINATE</b>",
          "body": "$var.e5a1.stringified",
          "btn_success": "RETRY",
          "btn_failure": "TERMINATE"
        },
        "outgoing": {},
        "error": ""
      },
      "view": "/workflow_engine/task/ViewData",
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>ViewData</span>"
        }
      ],
      "groups": [],
      "x": 0.29763779527559053,
      "y": 0.14810126582278482,
      "scheduled": false
    },
    "5222": {
      "name": "objectToString",
      "canvasName": "toString",
      "summary": "Converts a valid JSON value to a string.",
      "description": "Converts a valid JSON value to a JSON string, optionally replacing values if a replacer function is specified or optionally including only the specified properties if a replacer array is specified.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "type": "automatic",
      "displayName": "Object",
      "variables": {
        "incoming": {
          "value": "$var.job.error",
          "replacer": "null",
          "space": 2
        },
        "outgoing": {
          "stringified": null
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Converts</span> a valid JSON value to a string."
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Converts</span> a valid JSON value to a JSON string, optionally replacing values if a replacer function is specified or optionally including only the specified properties if a replacer array is specified."
        }
      ],
      "groups": [],
      "actor": "Pronghorn",
      "x": 0.7149606299212599,
      "y": 0.34177215189873417,
      "scheduled": false
    },
    "5682": {
      "name": "evaluation",
      "canvasName": "evaluation",
      "summary": "Run Evaluation Task",
      "description": "Run an evaluation",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "all_true_flag": false,
          "evaluation_groups": [
            {
              "all_true_flag": false,
              "evaluations": [
                {
                  "query": "",
                  "operand_1": {
                    "variable": "mode",
                    "task": "job",
                    "editable": true
                  },
                  "operator": "==",
                  "operand_2": {
                    "variable": "Zero touch",
                    "task": "static"
                  }
                }
              ]
            }
          ]
        },
        "outgoing": {
          "return_value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>eval</span>uation"
        },
        {
          "key": "summary",
          "highlightString": "Run <span class='highlight-string'>Eval</span>uation Task"
        },
        {
          "key": "description",
          "highlightString": "Run an <span class='highlight-string'>eval</span>uation"
        }
      ],
      "groups": [],
      "x": 0.7825829383886256,
      "y": 0.5098039215686274
    },
    "6352": {
      "name": "ViewData",
      "canvasName": "ViewData",
      "summary": "Error in Save Instance",
      "description": "Error in Save Instance",
      "location": "Application",
      "app": "WorkFlowEngine",
      "displayName": "Tools",
      "type": "manual",
      "variables": {
        "incoming": {
          "header": "Error in Save Instance",
          "message": "Error committing the service instance, please review Save Instance error, and decide to either <b>RETRY</b> or <b>TERMINATE</b>",
          "body": "$var.5222.stringified",
          "btn_success": "RETRY",
          "btn_failure": "TERMINATE"
        },
        "outgoing": {},
        "error": ""
      },
      "view": "/workflow_engine/task/ViewData",
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>ViewData</span>"
        }
      ],
      "groups": [],
      "x": 0.6540284360189573,
      "y": 0.16862745098039217,
      "scheduled": false
    },
    "workflow_start": {
      "name": "workflow_start",
      "groups": [],
      "x": 0.17298578199052134,
      "y": 0.48627450980392156
    },
    "workflow_end": {
      "name": "workflow_end",
      "groups": [],
      "x": 1.6380331753554502,
      "y": 0.5264705882352941
    },
    "2a3e": {
      "name": "testInstances",
      "summary": "Test Instances",
      "description": "Test instances with an option.",
      "location": "Application",
      "locationType": null,
      "app": "ServiceCog",
      "displayName": "Service Management",
      "type": "automatic",
      "variables": {
        "incoming": {
          "instance": "$var.job.instance",
          "options": {}
        },
        "outgoing": {
          "result": "$var.job.resultTestInstance"
        },
        "error": "$var.job.error"
      },
      "deprecated": false,
      "matched": [],
      "groups": [],
      "actor": "Pronghorn",
      "x": 0.3311611374407583,
      "y": 0.5,
      "scheduled": false
    },
    "e5f6": {
      "name": "ViewTestService",
      "summary": "View Dry Run Results",
      "description": "View Dry Run Results",
      "location": "Application",
      "app": "ServiceCog",
      "displayName": "Service Management",
      "type": "manual",
      "variables": {
        "incoming": {
          "dry_run_results": "$var.job.resultTestInstance"
        },
        "outgoing": {
          "dry_run_results": null
        },
        "error": ""
      },
      "view": "/service_management/task/ViewTestService",
      "deprecated": false,
      "matched": [],
      "groups": [],
      "x": 0.5204724409448819,
      "y": 0.3620253164556962,
      "scheduled": false
    },
    "ae23": {
      "name": "saveInstances",
      "summary": "Save Instances",
      "description": "Save instances with an option.",
      "location": "Application",
      "locationType": null,
      "app": "ServiceCog",
      "displayName": "Service Management",
      "type": "automatic",
      "variables": {
        "incoming": {
          "instance": "$var.job.instance",
          "options": {}
        },
        "outgoing": {
          "result": null
        },
        "error": "$var.job.error"
      },
      "deprecated": false,
      "matched": [],
      "groups": [],
      "actor": "Pronghorn",
      "x": 0.6543307086614173,
      "y": 0.5177215189873418,
      "scheduled": false
    },
    "1b45": {
      "name": "saveInstances",
      "summary": "Delete Instances",
      "description": "Delete instances with an option.",
      "location": "Application",
      "locationType": null,
      "app": "ServiceCog",
      "displayName": "Service Management",
      "type": "automatic",
      "variables": {
        "incoming": {
          "instance": "$var.job.instance",
          "options": {
            "action": "delete",
            "sync": true
          }
        },
        "outgoing": {
          "result": null
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [],
      "groups": [],
      "actor": "Pronghorn",
      "x": 1.4354265402843602,
      "y": 0.5166666666666667,
      "scheduled": false
    },
    "c4b5": {
      "name": "testInstances",
      "summary": "Test Instances",
      "description": "Test instances with an option.",
      "location": "Application",
      "locationType": null,
      "app": "ServiceCog",
      "displayName": "Service Management",
      "type": "automatic",
      "variables": {
        "incoming": {
          "instance": "$var.job.instance",
          "options": {
            "action": "delete",
            "sync": true
          }
        },
        "outgoing": {
          "result": "$var.job.resultTestInstance"
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [],
      "groups": [],
      "actor": "Pronghorn",
      "x": 1.120260663507109,
      "y": 0.5205882352941177,
      "scheduled": false
    },
    "90f3": {
      "name": "ViewTestService",
      "summary": "View Dry Run Results",
      "description": "View Dry Run Results",
      "location": "Application",
      "app": "ServiceCog",
      "displayName": "Service Management",
      "type": "manual",
      "variables": {
        "incoming": {
          "dry_run_results": "$var.job.resultTestInstance"
        },
        "outgoing": {
          "dry_run_results": null
        },
        "error": ""
      },
      "view": "/service_management/task/ViewTestService",
      "deprecated": false,
      "matched": [],
      "groups": [],
      "x": 1.2819905213270142,
      "y": 0.5117647058823529,
      "scheduled": false
    },
    "8a2b": {
      "name": "newVariable",
      "canvasName": "newVariable",
      "summary": "Create a Job Variable",
      "description": "Create a new Job variable by Job ID and assign it a value.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "name": "outcome",
          "value": "failure"
        },
        "outgoing": {
          "value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>new</span>Variable"
        },
        {
          "key": "description",
          "highlightString": "Create a <span class='highlight-string'>new</span> <span class='highlight-string'>Job</span> variable by Job ID and assign it a value."
        },
        {
          "key": "summary",
          "highlightString": "Create a <span class='highlight-string'>Job</span> Variable"
        }
      ],
      "groups": [],
      "x": 0.5106635071090048,
      "y": -0.15980392156862744
    },
    "ca75": {
      "name": "ViewData",
      "canvasName": "ViewData",
      "summary": "Reject notice",
      "description": "Reject notice",
      "location": "Application",
      "app": "WorkFlowEngine",
      "displayName": "Tools",
      "type": "manual",
      "variables": {
        "incoming": {
          "header": "Reject notice",
          "message": "You've selected to reject the dry-run, and not push any configuration to the device.<br>Please select to either <b>REVIEW</b> dry run once again or <b>TERMINATE</b> to terminate this workflow.",
          "body": "",
          "btn_success": "REVIEW",
          "btn_failure": "TERMINATE"
        },
        "outgoing": {},
        "error": ""
      },
      "view": "/workflow_engine/task/ViewData",
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>ViewData</span>"
        }
      ],
      "groups": [],
      "x": 0.5023696682464455,
      "y": 0.1627450980392157,
      "scheduled": false
    },
    "57e": {
      "name": "newVariable",
      "canvasName": "newVariable",
      "summary": "Create a Job Variable",
      "description": "Create a new Job variable by Job ID and assign it a value.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "name": "outcome",
          "value": "success"
        },
        "outgoing": {
          "value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>new</span>Variable"
        },
        {
          "key": "description",
          "highlightString": "Create a <span class='highlight-string'>new</span> <span class='highlight-string'>Job</span> variable by Job ID and assign it a value."
        },
        {
          "key": "summary",
          "highlightString": "Create a <span class='highlight-string'>Job</span> Variable"
        }
      ],
      "groups": [],
      "x": 1.294431279620853,
      "y": 1.0009803921568627
    },
    "82a3": {
      "name": "ViewData",
      "canvasName": "ViewData",
      "summary": "Delete service decision",
      "description": "Delete service decision",
      "location": "Application",
      "app": "WorkFlowEngine",
      "displayName": "Tools",
      "type": "manual",
      "variables": {
        "incoming": {
          "header": "Decision Task to Delete Service Instance",
          "message": "Would you like to <b>DELETE</b> service instance , or <b>SKIP</b> deleting the instance?<br>Please notice that the service instances provisioned in this workflow are meant to be run against Cisco-IOS devices and will stay on device if you skip deleting the instance",
          "body": "",
          "btn_success": "DELETE",
          "btn_failure": "SKIP"
        },
        "outgoing": {},
        "error": ""
      },
      "view": "/workflow_engine/task/ViewData",
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>ViewData</span>"
        }
      ],
      "groups": [],
      "x": 0.9443127962085308,
      "y": 0.5176470588235295,
      "scheduled": false
    },
    "db00": {
      "name": "ViewData",
      "canvasName": "ViewData",
      "summary": "Reject notice",
      "description": "Reject notice",
      "location": "Application",
      "app": "WorkFlowEngine",
      "displayName": "Tools",
      "type": "manual",
      "variables": {
        "incoming": {
          "header": "Reject notice",
          "message": "You've selected to reject the dry-run, and not push any configuration to the device.<br>Please select to either <b>REVIEW</b> dry run once again or <b>TERMINATE</b> to end this workflow.",
          "body": "",
          "btn_success": "REVIEW",
          "btn_failure": "TERMINATE"
        },
        "outgoing": {},
        "error": ""
      },
      "view": "/workflow_engine/task/ViewData",
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>ViewData</span>"
        }
      ],
      "groups": [],
      "x": 1.2855450236966826,
      "y": 0.7323529411764705,
      "scheduled": false
    },
    "c72a": {
      "name": "evaluation",
      "canvasName": "evaluation",
      "summary": "Run Evaluation Task",
      "description": "Run an evaluation",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "displayName": "WorkFlowEngine",
      "type": "operation",
      "variables": {
        "incoming": {
          "all_true_flag": false,
          "evaluation_groups": [
            {
              "all_true_flag": false,
              "evaluations": [
                {
                  "query": "",
                  "operand_1": {
                    "variable": "mode",
                    "task": "job",
                    "editable": true
                  },
                  "operator": "==",
                  "operand_2": {
                    "variable": "Zero touch",
                    "task": "static"
                  }
                }
              ]
            }
          ]
        },
        "outgoing": {
          "return_value": null
        }
      },
      "deprecated": false,
      "matched": [
        {
          "key": "canvasName",
          "highlightString": "<span class='highlight-string'>eval</span>uation"
        },
        {
          "key": "summary",
          "highlightString": "Run <span class='highlight-string'>Eval</span>uation Task"
        },
        {
          "key": "description",
          "highlightString": "Run an <span class='highlight-string'>eval</span>uation"
        }
      ],
      "groups": [],
      "x": 0.49881516587677727,
      "y": 0.49607843137254903
    },
    "e5a1": {
      "name": "objectToString",
      "canvasName": "toString",
      "summary": "Converts a valid JSON value to a string.",
      "description": "Converts a valid JSON value to a JSON string, optionally replacing values if a replacer function is specified or optionally including only the specified properties if a replacer array is specified.",
      "location": "Application",
      "locationType": null,
      "app": "WorkFlowEngine",
      "type": "automatic",
      "displayName": "Object",
      "variables": {
        "incoming": {
          "value": "$var.job.error",
          "replacer": "null",
          "space": 2
        },
        "outgoing": {
          "stringified": null
        },
        "error": ""
      },
      "deprecated": false,
      "matched": [
        {
          "key": "summary",
          "highlightString": "<span class='highlight-string'>Converts</span> a valid JSON value to a string."
        },
        {
          "key": "description",
          "highlightString": "<span class='highlight-string'>Converts</span> a valid JSON value to a JSON string, optionally replacing values if a replacer function is specified or optionally including only the specified properties if a replacer array is specified."
        }
      ],
      "groups": [],
      "actor": "Pronghorn",
      "x": 0.35748031496062993,
      "y": 0.31772151898734174,
      "scheduled": false
    }
  },
  "transitions": {
    "3713": {
      "8a2b": {
        "type": "standard",
        "state": "failure"
      },
      "2a3e": {
        "type": "revert",
        "state": "success"
      }
    },
    "5222": {
      "6352": {
        "type": "standard",
        "state": "success"
      }
    },
    "5682": {
      "57e": {
        "type": "standard",
        "state": "success"
      },
      "82a3": {
        "type": "standard",
        "state": "failure"
      }
    },
    "6352": {
      "ae23": {
        "type": "revert",
        "state": "success"
      },
      "8a2b": {
        "type": "standard",
        "state": "failure"
      }
    },
    "workflow_start": {
      "2a3e": {
        "type": "standard",
        "state": "success"
      }
    },
    "workflow_end": {},
    "2a3e": {
      "c72a": {
        "type": "standard",
        "state": "success"
      },
      "e5a1": {
        "type": "standard",
        "state": "error"
      }
    },
    "e5f6": {
      "ae23": {
        "type": "standard",
        "state": "success"
      },
      "ca75": {
        "type": "standard",
        "state": "failure"
      }
    },
    "ae23": {
      "5222": {
        "type": "standard",
        "state": "error"
      },
      "5682": {
        "type": "standard",
        "state": "success"
      }
    },
    "1b45": {
      "57e": {
        "type": "standard",
        "state": "success"
      }
    },
    "c4b5": {
      "90f3": {
        "type": "standard",
        "state": "success"
      }
    },
    "90f3": {
      "1b45": {
        "type": "standard",
        "state": "success"
      },
      "db00": {
        "type": "standard",
        "state": "failure"
      }
    },
    "cc69": {},
    "2f0c": {},
    "b83b": {},
    "8a2b": {
      "workflow_end": {
        "type": "standard",
        "state": "success"
      }
    },
    "ca75": {
      "e5f6": {
        "type": "revert",
        "state": "success"
      },
      "8a2b": {
        "type": "standard",
        "state": "failure"
      }
    },
    "57e": {
      "workflow_end": {
        "type": "standard",
        "state": "success"
      }
    },
    "82a3": {
      "57e": {
        "type": "standard",
        "state": "failure"
      },
      "c4b5": {
        "type": "standard",
        "state": "success"
      }
    },
    "db00": {
      "90f3": {
        "type": "revert",
        "state": "success"
      },
      "57e": {
        "type": "standard",
        "state": "failure"
      }
    },
    "c72a": {
      "ae23": {
        "type": "standard",
        "state": "success"
      },
      "e5f6": {
        "type": "standard",
        "state": "failure"
      }
    },
    "e5a1": {
      "3713": {
        "type": "standard",
        "state": "success"
      }
    }
  },
  "font_size": 12,
  "created": "2020-02-25T20:13:32.335Z",
  "created_by": {
    "provenance": "Local AAA",
    "username": "Itential Artifacts",
    "firstname": "admin",
    "inactive": true,
    "email": ""
  },
  "createdVersion": "5.5.9-2019.3.0.0",
  "groups": [],
  "last_updated": "2020-12-20T03:14:23.167Z",
  "last_updated_by": {
    "provenance": "Itential AAA LDAP",
    "username": "rahul.chakraborty",
    "firstname": "Rahul",
    "inactive": false
  },
  "lastUpdatedVersion": "5.10.4-2020.1.39.0",
  "type": "automation",
  "description": null,
  "tags": []
}
